.class public Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;


# instance fields
.field private A:I

.field private B:Ljava/lang/String;

.field private C:Ljava/lang/String;

.field private D:Ljava/lang/String;

.field public a:Ljava/lang/String;

.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field public d:Ljava/lang/String;

.field public e:Ljava/lang/String;

.field public f:Ljava/lang/String;

.field public g:Ljava/lang/String;

.field public h:Ljava/lang/String;

.field public i:Ljava/lang/String;

.field j:Landroid/view/View$OnClickListener;

.field private k:Landroid/widget/TextView;

.field private l:Landroid/widget/ImageView;

.field private m:Landroid/widget/TextView;

.field private n:Landroid/widget/LinearLayout;

.field private o:Ljava/util/HashMap;

.field private p:Landroid/os/Handler;

.field private q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

.field private r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

.field private s:Lcom/waiqin365/compons/view/c;

.field private t:Lcom/waiqin365/compons/view/c;

.field private u:Ljava/lang/String;

.field private v:Ljava/lang/String;

.field private w:Ljava/util/HashMap;

.field private x:I

.field private y:Ljava/lang/String;

.field private z:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->u:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->v:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->a:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->b:Ljava/lang/String;

    iput v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->x:I

    iput v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->A:I

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->B:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->c:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->d:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->e:Ljava/lang/String;

    const-string/jumbo v0, "save_summary"

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->f:Ljava/lang/String;

    const-string/jumbo v0, "save_summary_imgs_local_dir"

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->g:Ljava/lang/String;

    const-string/jumbo v0, "save_summary_imgs_viewid"

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->h:Ljava/lang/String;

    const-string/jumbo v0, "save_summary_imgs_net"

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->i:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->C:Ljava/lang/String;

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->D:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/lightapp/visit/gi;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/gi;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->j:Landroid/view/View$OnClickListener;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    return-object v0
.end method

.method private a(Ljava/lang/String;)V
    .locals 7

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    const/16 v0, 0x2c

    invoke-static {p1, v0, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    new-instance v4, Lcom/waiqin365/lightapp/b/b;

    invoke-direct {v4}, Lcom/waiqin365/lightapp/b/b;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v5

    invoke-virtual {v3, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v5, p0, v0}, Lcom/waiqin365/base/login/mainview/a;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    iget-object v0, v4, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    const/16 v5, 0x2e

    invoke-virtual {v0, v5}, Ljava/lang/String;->lastIndexOf(I)I

    move-result v0

    new-instance v5, Ljava/lang/StringBuffer;

    iget-object v6, v4, Lcom/waiqin365/lightapp/b/b;->b:Ljava/lang/String;

    invoke-direct {v5, v6}, Ljava/lang/StringBuffer;-><init>(Ljava/lang/String;)V

    const-string/jumbo v6, "_small"

    invoke-virtual {v5, v0, v6}, Ljava/lang/StringBuffer;->insert(ILjava/lang/String;)Ljava/lang/StringBuffer;

    invoke-virtual {v5}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v4, Lcom/waiqin365/lightapp/b/b;->a:Ljava/lang/String;

    invoke-virtual {v2, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->a(Ljava/util/List;)Z

    :cond_1
    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->B:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->z:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    return-object v0
.end method

.method private d()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/visit/ge;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/ge;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->p:Landroid/os/Handler;

    return-void
.end method

.method private e()V
    .locals 3

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->o:Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->d()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->d:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->d:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->s:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f080337

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->s:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->o:Ljava/util/HashMap;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->w:Ljava/util/HashMap;

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->putAll(Ljava/util/Map;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->o:Ljava/util/HashMap;

    const-string/jumbo v1, "visitData.summary"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->d:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->x()I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->y()I

    move-result v1

    if-le v1, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->s:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f080633

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->s:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->z:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->o:Ljava/util/HashMap;

    const-string/jumbo v1, "visitData.summaryPictures"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->c:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->o:Ljava/util/HashMap;

    const-string/jumbo v1, "visitData.token"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->D:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->o:Ljava/util/HashMap;

    const-string/jumbo v1, "visitData.flowType"

    const-string/jumbo v2, "1"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->o:Ljava/util/HashMap;

    const-string/jumbo v1, "visitData.terminalType"

    const-string/jumbo v2, "2"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/visit/a/a/y;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->o:Ljava/util/HashMap;

    invoke-direct {v1, v0, v2}, Lcom/waiqin365/lightapp/visit/a/a/y;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->p:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    goto/16 :goto_0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->f()V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->s:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private f()V
    .locals 6

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806b1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f080853

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/lightapp/visit/gj;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/visit/gj;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->t:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->t:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method

.method private g()V
    .locals 8

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->o:Ljava/util/HashMap;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->o:Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_4

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v1, Lcom/fiberhome/gaea/client/b/a/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "submitdata/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v4

    if-nez v4, :cond_0

    invoke-virtual {v1}, Ljava/io/File;->mkdirs()Z

    :cond_0
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    new-instance v5, Lorg/json/JSONObject;

    invoke-direct {v5}, Lorg/json/JSONObject;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->o:Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->entrySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v6

    :cond_1
    :goto_0
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map$Entry;

    invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v7

    if-nez v7, :cond_1

    :try_start_0
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v7

    if-eqz v7, :cond_2

    const-string/jumbo v0, ""

    :cond_2
    invoke-virtual {v5, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_0

    :cond_3
    invoke-virtual {v5}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v4, v0}, Lcom/fiberhome/gaea/client/d/c;->b(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    const-string/jumbo v0, "6210643643356947384"

    new-instance v1, Lcom/waiqin365/base/db/seniorvisitsubmit/f;

    invoke-direct {v1}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;-><init>()V

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string/jumbo v6, "_"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->a(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v5

    invoke-virtual {v5, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->j(Ljava/lang/String;)V

    iget-object v5, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->u:Ljava/lang/String;

    invoke-virtual {v1, v5}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->k(Ljava/lang/String;)V

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->f(Ljava/lang/String;)V

    const v0, 0x7f0804ca

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->g(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->v:Ljava/lang/String;

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->e:Ljava/lang/String;

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->c(Ljava/lang/String;)V

    invoke-virtual {v1, v4}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->d(Ljava/lang/String;)V

    const-string/jumbo v0, "0"

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->e(Ljava/lang/String;)V

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v4, "yyyy-MM-dd HH:mm:ss"

    invoke-direct {v0, v4}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    new-instance v4, Ljava/util/Date;

    invoke-direct {v4, v2, v3}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v0, v4}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->h(Ljava/lang/String;)V

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    const/4 v2, 0x6

    invoke-virtual {v0, v2}, Ljava/util/Calendar;->get(I)I

    move-result v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/base/db/seniorvisitsubmit/f;->i(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/base/db/seniorvisitsubmit/g;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/seniorvisitsubmit/g;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/seniorvisitsubmit/g;->a(Lcom/waiqin365/base/db/seniorvisitsubmit/f;)Z

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/o;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/o;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->B:Ljava/lang/String;

    iput-object v2, v0, Lcom/waiqin365/lightapp/kehu/b/o;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/o;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->z:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/o;->d:Ljava/lang/String;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/o;->e:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->a(Lcom/waiqin365/lightapp/kehu/b/o;)V

    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "android.intent.action.RUN"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-class v1, Lcom/fiberhome/upload/UpLoadService;

    invoke-virtual {v0, p0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    :cond_4
    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->e()V

    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->t:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->g()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->C:Ljava/lang/String;

    const-string/jumbo v0, "senior_visit_summary_sp"

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    const-string/jumbo v1, "senior_visit_summary_today"

    const-string/jumbo v2, ""

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->C:Ljava/lang/String;

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->clear()Landroid/content/SharedPreferences$Editor;

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    :cond_0
    return-void
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3

    const-string/jumbo v0, "senior_visit_summary_sp"

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0, p1, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    const-string/jumbo v1, "senior_visit_summary_today"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->C:Ljava/lang/String;

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method

.method public b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 2

    const-string/jumbo v0, "senior_visit_summary_sp"

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    invoke-interface {v0, p1, p2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public b()V
    .locals 2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "saveVisitMap"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->w:Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->w:Ljava/util/HashMap;

    const-string/jumbo v1, "visitData.id"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->u:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->w:Ljava/util/HashMap;

    const-string/jumbo v1, "visitData.customer"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->v:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->f:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->u:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->f:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->g:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->u:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->g:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->h:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->u:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->h:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->i:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->u:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->i:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "summary"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->d:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "summaryImgs"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->c:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "customerName"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->e:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmLocation"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->b:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->b(Landroid/content/Context;)Ljava/util/HashMap;

    move-result-object v0

    const-string/jumbo v1, "senorvisit"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v1, "uploadUrl"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->B:Ljava/lang/String;

    const-string/jumbo v1, "picWidth"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    iput v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->x:I

    const-string/jumbo v1, "picIsSelect"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->y:Ljava/lang/String;

    const-string/jumbo v1, "picDir"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->z:Ljava/lang/String;

    const-string/jumbo v1, "picNum"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->A:I

    return-void
.end method

.method public c()V
    .locals 5

    const v3, 0x7f0804ca

    const/4 v2, 0x0

    const/4 v4, 0x0

    const v0, 0x7f0c0c4f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->l:Landroid/widget/ImageView;

    const v0, 0x7f0c0c51

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->k:Landroid/widget/TextView;

    const v0, 0x7f0c0c52

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->m:Landroid/widget/TextView;

    const v0, 0x7f0c0d1d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const v0, 0x7f0c0d1e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->A:I

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setMax(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->x:I

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPicWidth(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->z:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotos(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotoType(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->e:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setCustomerName(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setCmLocation(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->h:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setCacheId(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const-string/jumbo v1, "visitsummary"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setCode(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->m(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPicUrl(Ljava/lang/String;)V

    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->y:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setAllowSelect(Z)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->k:Landroid/widget/TextView;

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->l:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->j:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->m:Landroid/widget/TextView;

    const v1, 0x7f08078d

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->m:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->j:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0d1c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->n:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const v1, 0x7f080337

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setHint(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const/4 v1, 0x5

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setMaxLines(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->f:Ljava/lang/String;

    invoke-virtual {p0, v0, v4}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->g:Ljava/lang/String;

    invoke-virtual {p0, v1, v4}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->h:Ljava/lang/String;

    invoke-virtual {p0, v2, v4}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->i:Ljava/lang/String;

    invoke-virtual {p0, v3, v4}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->b(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    if-nez v0, :cond_0

    if-eqz v1, :cond_5

    :cond_0
    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v4, v2}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setViewId(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotoDir(Ljava/lang/String;)V

    if-eqz v3, :cond_4

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setValue(Ljava/lang/String;)V

    :goto_1
    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->d:Ljava/lang/String;

    :cond_1
    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->d:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setValue(Ljava/lang/String;)V

    :cond_2
    :goto_2
    new-instance v0, Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806b1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    sget v2, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v3, Lcom/waiqin365/lightapp/visit/gf;

    invoke-direct {v3, p0}, Lcom/waiqin365/lightapp/visit/gf;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)V

    invoke-direct {v0, p0, v1, v2, v3}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->s:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    new-instance v1, Lcom/waiqin365/lightapp/visit/gg;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/gg;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setOnTextChangedListener(Lcom/waiqin365/lightapp/kehu/view/by;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    new-instance v1, Lcom/waiqin365/lightapp/visit/gh;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/gh;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setImagePreviewImageDataChangeListener(Lcom/waiqin365/lightapp/view/fp;)V

    return-void

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setAllowSelect(Z)V

    goto/16 :goto_0

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->c:Ljava/lang/String;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setValue(Ljava/lang/String;)V

    goto :goto_1

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->d:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->q:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setValue(Ljava/lang/String;)V

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->c:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->c:Ljava/lang/String;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->r:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setNetPicUrls(Ljava/lang/String;)V

    goto :goto_2
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f0302a8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->a()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->d()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitSummaryActivity;->c()V

    return-void
.end method
